#!/bin/bash
# IBM_PROLOG_BEGIN_TAG 
# This is an automatically generated prolog. 
#  
#  
#  
# Licensed Materials - Property of IBM 
#  
# Restricted Materials of IBM 
#  
# (C) COPYRIGHT International Business Machines Corp. 2002,2004 
# All Rights Reserved 
#  
# US Government Users Restricted Rights - Use, duplication or 
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 
#  
# IBM_PROLOG_END_TAG 

# Start the trace daemon
#
#ulimit -c 1000000

/opt/hsc/bin/tracelogd &

# Record the thread ids for the started hdwr_svr
sleep 5

TOP_FNMTRACE_ID=$((`ps -ewww | grep tracelogd | head -n 1 | awk {'print $1'}`))

wait $TOP_FNMTRACE_ID
echo "FNM trace daemon stopped on "`date` > /tmp/startFNMtrace.log
